package core;

import javax.swing.JPanel;
import net.miginfocom.swing.MigLayout;
import javax.swing.JLabel;
import java.awt.Component;
import javax.swing.Box;
import java.awt.Color;
import java.awt.Font;

public class ScorePanel extends JPanel {

/**
 * Create the panel.
 */
public ScorePanel() {
  setForeground(Color.LIGHT_GRAY);
  setBackground(Color.BLACK);
  setLayout(new MigLayout("", "[][][][][]", "[][][][][][][][]"));
  
  JLabel lblScore = new JLabel("Score");
  lblScore.setFont(new Font("Levenim MT", Font.PLAIN, 16));
  lblScore.setForeground(Color.WHITE);
  add(lblScore, "cell 0 1,alignx left");
  
  JLabel dispScore = new JLabel("0");
  dispScore.setFont(new Font("Levenim MT", Font.PLAIN, 12));
  dispScore.setForeground(Color.WHITE);
  add(dispScore, "cell 2 1");

}

}
